﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ProjectQuaDep.Services
{
    public partial class UpdateImgThumb : System.Web.UI.Page
    {
        protected string kq = "0";
        protected void Page_Load(object sender, EventArgs e)
        {  
            try
            {
                string id = Request.QueryString["id"] == null ? "0" : Request.QueryString["id"].ToString();
                string url = Request.QueryString["url"] == null ? "0" : Request.QueryString["url"].ToString();
                BO.Admin.ImagesBO.UpdateImageThumb(id, url);
                kq = "1";
            }
            catch (Exception)
            {
                kq = "0";
            }
        }
    }
}